import os


class Config:
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:1026@localhost/guilin_temp'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SECRET_KEY = os.getenv('SECRET_KEY', 'your-secret-key-here')
    SQLALCHEMY_ENGINE_OPTIONS = {
        'connect_args': {
            'charset': 'utf8mb4',
            'ssl': {'ssl_disabled': True}
        }
    }
